<?php  foreach ($profile_information as $PI){ ?>
<div class="page_heading_text">Edit profile information</div>
            <div class="clear"></div> 
            
              <div class="clear" style="margin-bottom:20px;"></div>
                 <!-- Start Book Package -->  
                <div class="my_account_area_main">
                  <span style="font-weight:bold; font-size:24px;">Will Smith</span> Member since Tuesday, November 15th 2011 
                </div>
                 
                    <div class="my_account_area_main">
                      <div class="my_account_top_border"></div>
                          <div class="my_account_menu_top_border">
                             <? $this->load->view('includes/my-account-menubar'); ?>
                          </div>
                      <div class="profile_main_div">
                        <div class="dv1">
                            <div class="handler">Account information</div>
                            <div class="myaccount_register_login">
                            <?=form_open('', array('autocomplete' => 'off', 'id' => 'userProfileEdit', 'name' => 'userProfileEdit'))?>
                              <div>
                               	<fieldset class="user-login-account">
                                       	<div id="#" class="form-item">
	                                       	<?=form_label('Name:<span title="This field is required." class="form-required">*</span>', 'edit-name'); ?>
	                                       	<?=form_input(array('name' => 'edit_user_profile_name', 'id' => 'edit_user_profile_name', 'class' => 'login_text_field', 'value' => $PI->fullname))?>
	                                       	<?=form_error('edit_user_profile_name')?>
                                     	</div>
                                        <div id="#" class="form-item">
                                        	<?=form_label('E-mail address:<span title="This field is required." class="form-required">*</span>', 'edit-name')?>
	                                       	<?=form_input(array('name' => 'edit_user_profile_email', 'id' => 'edit_user_profile_email', 'class' => 'login_text_field', 'value' => $PI->email))?>
	                                       	<?=form_error('edit_user_profile_email')?>
                                     	</div>
                                        <div id="#" class="form-item">
                                        	<?=form_label('University: ', 'edit-name')?>
	                                       	<?=form_input(array('name' => 'edit_user_profile_university', 'id' => 'edit_user_profile_university', 'class' => 'login_text_field', 'value' => $PI->university))?>
	                                       	<?=form_error('edit_user_profile_university')?>
                                     	</div>
                                        <div id="#" class="form-item">
                                        	<?=form_label('Campus: ', 'edit-name')?>
	                                       	<?=form_input(array('name' => 'edit_user_profile_campus', 'id' => 'edit_user_profile_campus', 'class' => 'login_text_field', 'value' => $PI->campus))?>
	                                       	<?=form_error('edit_user_profile_campus')?>
                                     	</div>
                                        <div id="#" class="form-item">
                                        	<?=form_label('Present Address: ', 'edit-name')?>
	                                       	<?=form_textarea(array('name' => 'edit_user_profile_address', 'id' => 'edit_user_profile_address', 'class' => '', 'value' => $PI->present_address))?>
	                                       	<?=form_error('edit_user_profile_address')?>
                                     	</div>
                                         <div id="#" class="form-item">
                                         	<?=form_label('Phone:<span title="This field is required." class="form-required">*</span>', 'edit-name')?>
	                                       	<?=form_input(array('name' => 'edit_user_profile_phone', 'id' => 'edit_user_profile_phone', 'class' => 'login_text_field', 'value' => $PI->phone))?>
	                                       	<?=form_error('edit_user_profile_phone')?>
                                     	</div>
                                        <div id="#" class="save_btn_area">
                                        	<?= form_submit(array('name' => 'edit_profile_submit', 'id' => 'edit_profile_submit', 'value' => '', "class"=>"save_button")) ?>
                                     	</div>
                               		</fieldset>
                              </div>
                              <?= form_close() ?>
                          </div>
                        </div>
                      </div> 
                      <div class="clear"></div>                   
                    </div> 
                <div class="clear"></div> 

       <div class="clear" style="margin-bottom:20px;"></div>      
 <? } ?>